package com.wy.panda.event;

import org.springframework.context.ApplicationEvent;

/**
 * 
 *
 * @author WangYuan
 * @since 2020年11月13日 下午7:34:40
 */
public class TestEvent {

	public static class Test2ApplicationEvent extends ApplicationEvent {
		
		private static final long serialVersionUID = 3215635580901474918L;

		public Test2ApplicationEvent(Object source) {
	        super(source);
	    }
	    
	    public static Test2ApplicationEvent build(Object source) {
	    	return new Test2ApplicationEvent(source);
	    }

	}
	
	public static class Test3ApplicationEvent extends ApplicationEvent {
		
		private static final long serialVersionUID = -5764742104862903783L;

		public Test3ApplicationEvent(Object source) {
	        super(source);
	    }
	    
	    public static Test3ApplicationEvent build(Object source) {
	    	return new Test3ApplicationEvent(source);
	    }

	}
}
